package com.hs.android.fortress.model;

public class Bomb {
	
	private Integer bombId;
	private int damage;
	private int explosionRange;
	private double weight;
	
	public Integer getBombId() {
		return bombId;
	}
	
	public void setBombId(Integer bombId) {
		this.bombId = bombId;
	}
	
	public int getDamage() {
		return damage;
	}
	
	public void setDamage(int damage) {
		this.damage = damage;
	}
	
    public int getExplosionRange() {
        return explosionRange;
    }

    public void setExplosionRange(int explosionRange) {
        this.explosionRange = explosionRange;
    }
	
	public double getWeight() {
		return weight;
	}
	
	public void setWeight(double weight) {
		this.weight = weight;
	}
	
	
    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof Bomb)) {
            return false;
        }
        Bomb other = (Bomb) object;
        if ((this.bombId == null && other.bombId != null) || (this.bombId != null && !this.bombId.equals(other.bombId))) {
            return false;
        }
        return true;
    }
	
	
}
